﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using RilattackLibrary;
using RilattackGameWPF;

namespace RilattackGameWPF
{
    /// <summary>
    /// Logique d'interaction pour App.xaml
    /// </summary>
    public partial class App : Application
    {
        public static RilattackGame Game;
        public static MainWindow Window;
        public static CallBack Client { get; set; }
        public static IServer Server { get; set; }

        [STAThread]
        public static void LaunchGame()
        {
            if (Game != null)
            {
                return;
            }
            Game = new RilattackGame();
            Game.Run();
        }
    }
    
}
